package com.ruoyi.order.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * VIEW对象 statistic_customers
 *
 * @author ruoyi
 * @date 2021-07-08
 */
public class StatisticCustomers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 电话 */
    @Excel(name = "电话")
    private String customerPhone;

    /** 订单名称 */
    @Excel(name = "订单名称")
    private String orderName;

    /** 订单数量 */
    @Excel(name = "订单数量")
    private Long orderAmount;

    /** 订单要求 */
    @Excel(name = "订单要求")
    private String requirement;

    /** 合同单价 */
    @Excel(name = "合同单价")
    private Long contractPrice;

    /** 接单日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "接单日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date receiveorderDate;

    /** 预计出圃日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计出圃日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deliveryDate;

    /** 订单状态 接单 | 实施中 | 完成 */
    @Excel(name = "订单状态 接单 | 实施中 | 完成")
    private String status;

    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
    }

    public String getCompanyName()
    {
        return companyName;
    }
    public void setContactPerson(String contactPerson)
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson()
    {
        return contactPerson;
    }
    public void setCustomerPhone(String customerPhone)
    {
        this.customerPhone = customerPhone;
    }

    public String getCustomerPhone()
    {
        return customerPhone;
    }
    public void setOrderName(String orderName)
    {
        this.orderName = orderName;
    }

    public String getOrderName()
    {
        return orderName;
    }
    public void setOrderAmount(Long orderAmount)
    {
        this.orderAmount = orderAmount;
    }

    public Long getOrderAmount()
    {
        return orderAmount;
    }
    public void setRequirement(String requirement)
    {
        this.requirement = requirement;
    }

    public String getRequirement()
    {
        return requirement;
    }
    public void setContractPrice(Long contractPrice)
    {
        this.contractPrice = contractPrice;
    }

    public Long getContractPrice()
    {
        return contractPrice;
    }
    public void setReceiveorderDate(Date receiveorderDate)
    {
        this.receiveorderDate = receiveorderDate;
    }

    public Date getReceiveorderDate()
    {
        return receiveorderDate;
    }
    public void setDeliveryDate(Date deliveryDate)
    {
        this.deliveryDate = deliveryDate;
    }

    public Date getDeliveryDate()
    {
        return deliveryDate;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("companyName", getCompanyName())
                .append("contactPerson", getContactPerson())
                .append("customerPhone", getCustomerPhone())
                .append("orderName", getOrderName())
                .append("orderAmount", getOrderAmount())
                .append("requirement", getRequirement())
                .append("contractPrice", getContractPrice())
                .append("receiveorderDate", getReceiveorderDate())
                .append("deliveryDate", getDeliveryDate())
                .append("status", getStatus())
                .toString();
    }
}